package com.fw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.fw.entity.BaseEntry;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author james
 * @since 2021-06-19
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class Pigorder extends BaseEntry {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pigoid", type = IdType.AUTO)
    private Integer pigoid;

    private Integer pigraiseuid;

    private Integer pigkilluid;

    private Integer pigtotal;

    private Integer pigarrive;

    private Date pigocreatedate;

    private Date outdate;

    private Date indate;

    /**
     * 1进行中，2已完成
     */
    private String pigostate;

    @TableField(exist = false)
    private List<Pig> pigList;

    @TableField(exist = false)
    private Integer pigraisename;

    @TableField(exist = false)
    private Integer pigkillname;
}
